package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/13 19:10
 */
@Entity
@Table(name = "ih_hospitalized")
public class IhHospitalized extends BaseEntity{
    @Id
    private String code;//住院PK/住院号 [CODE, VARCHAR2, 32]
    private String patientCode;//病人编码 [PATIENT_CODE, VARCHAR2, 32]
    private String patCostcateCode;//病人费别 [PAT_COSTCATE_CODE, VARCHAR2, 32]
    private String inhospApproach;//入院途径; 1-门诊 2-急诊 3-转院 4-预约 [INHOSP_APPROACH, VARCHAR2, 1]
    private String specOdocFlag;//门特病人标志;1是2否 [SPEC_ODOC_FLAG, VARCHAR2, 1]
    private String inDepartCode;//入院科室 [IN_DEPART_CODE, VARCHAR2, 32]
    private String inDoctorCode;//入院医生 [IN_DOCTOR_CODE, VARCHAR2, 32]
    private String inDiagnoseCodeCh;//中医入院诊断编码 [IN_DIAGNOSE_CODE_CH, VARCHAR2, 32]
    private String inDiagnoseCode;//西医入院诊断编码 [IN_DIAGNOSE_CODE, VARCHAR2, 32]
    private Date inRegisterDate;//新入院时间 [IN_REGISTER_DATE, DATE, 7]
    private Date ihInhospDate;//病区入院时间;护士入科时间 [IH_INHOSP_DATE, DATE, 7]
    private String bedCode;//床位编码 [BED_CODE, VARCHAR2, 32]
    private String curDepartCode;//当前住院科室 [CUR_DEPART_CODE, VARCHAR2, 32]
    private String curDoctorCode;//当前主管医生 [CUR_DOCTOR_CODE, VARCHAR2, 32]
    private String curNurseCode;//当前责任护士 [CUR_NURSE_CODE, VARCHAR2, 32]
    private String tstatus;//状态; 1-新入院 2-入院 3-病区出院4-已出院 [TSTATUS, VARCHAR2, 1]
    private String areaOutStatus;//病区出院标志;1未出院2已出院 [AREA_OUT_STATUS, VARCHAR2, 1]
    private String outSettStatus;//出院结算标志;1未结算2已结算 [OUT_SETT_STATUS, VARCHAR2, 1]
    private String isInsurance;//是否保险病人;1-是 2-否 [IS_INSURANCE, VARCHAR2, 1]
    private String insInStatus;//医保入院状态;1未入院2已入院 [INS_IN_STATUS, VARCHAR2, 1]
    private String insInstCode;//保险机构编码---本地维护 [INS_INST_CODE, VARCHAR2, 32]
    private String insType;//保险类别----本地维护 [INS_TYPE, VARCHAR2, 32]
    private String medicalType;//医疗类别-医保端;1城镇职工基本医疗保险2城镇居民基本医疗保险3新型农村合作医疗4贫困救助5商业医疗保险6全公费7全自费8其他社会保险9其他 [MEDICAL_TYPE, VARCHAR2, 32]
    private String insDisageCode;//保险疾病编码 [INS_DISAGE_CODE, VARCHAR2, 32]
    private String ihOuthospDept;//出院科室 [IH_OUTHOSP_DEPT, VARCHAR2, 32]
    private String createUser;//创建人;入院登记人 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间 [CREATE_TIME, DATE, 7]
    private Date updateTime;//更新时间 [UPDATE_TIME, DATE, 7]
    private String spodDiseaseCode;//门特病种编码 [SPOD_DISEASE_CODE, VARCHAR2, 32]
    private String cpFlag;//临床路径标识;1未入经2已入经3已出经 [CP_FLAG, VARCHAR2, 1]
    private Date ihOuthospDate;//结算日期;出院时间 [IH_OUTHOSP_DATE, DATE, 7]
    private String outDiagnoseCodeCh;//中医出院诊断编码 [OUT_DIAGNOSE_CODE_CH, VARCHAR2, 32]
    private String outDiagnoseCode;//西医出院诊断编码 [OUT_DIAGNOSE_CODE, VARCHAR2, 32]
    private String treatClass;//治疗类别
    private String inhospCondition;
    private String createInStatus;
    private String isDiseSeverity;
    private String isCritIll;

    public String getIsDiseSeverity() {
        return isDiseSeverity;
    }

    public void setIsDiseSeverity(String isDiseSeverity) {
        this.isDiseSeverity = isDiseSeverity;
    }

    public String getIsCritIll() {
        return isCritIll;
    }

    public void setIsCritIll(String isCritIll) {
        this.isCritIll = isCritIll;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPatientCode() {
        return patientCode;
    }

    public void setPatientCode(String patientCode) {
        this.patientCode = patientCode;
    }

    public String getPatCostcateCode() {
        return patCostcateCode;
    }

    public void setPatCostcateCode(String patCostcateCode) {
        this.patCostcateCode = patCostcateCode;
    }

    public String getInhospApproach() {
        return inhospApproach;
    }

    public void setInhospApproach(String inhospApproach) {
        this.inhospApproach = inhospApproach;
    }

    public String getSpecOdocFlag() {
        return specOdocFlag;
    }

    public void setSpecOdocFlag(String specOdocFlag) {
        this.specOdocFlag = specOdocFlag;
    }

    public String getInDepartCode() {
        return inDepartCode;
    }

    public void setInDepartCode(String inDepartCode) {
        this.inDepartCode = inDepartCode;
    }

    public String getInDoctorCode() {
        return inDoctorCode;
    }

    public void setInDoctorCode(String inDoctorCode) {
        this.inDoctorCode = inDoctorCode;
    }

    public String getInDiagnoseCodeCh() {
        return inDiagnoseCodeCh;
    }

    public void setInDiagnoseCodeCh(String inDiagnoseCodeCh) {
        this.inDiagnoseCodeCh = inDiagnoseCodeCh;
    }

    public String getInDiagnoseCode() {
        return inDiagnoseCode;
    }

    public void setInDiagnoseCode(String inDiagnoseCode) {
        this.inDiagnoseCode = inDiagnoseCode;
    }

    public Date getInRegisterDate() {
        return inRegisterDate;
    }

    public void setInRegisterDate(Date inRegisterDate) {
        this.inRegisterDate = inRegisterDate;
    }

    public Date getIhInhospDate() {
        return ihInhospDate;
    }

    public void setIhInhospDate(Date ihInhospDate) {
        this.ihInhospDate = ihInhospDate;
    }

    public String getBedCode() {
        return bedCode;
    }

    public void setBedCode(String bedCode) {
        this.bedCode = bedCode;
    }

    public String getCurDepartCode() {
        return curDepartCode;
    }

    public void setCurDepartCode(String curDepartCode) {
        this.curDepartCode = curDepartCode;
    }

    public String getCurDoctorCode() {
        return curDoctorCode;
    }

    public void setCurDoctorCode(String curDoctorCode) {
        this.curDoctorCode = curDoctorCode;
    }

    public String getCurNurseCode() {
        return curNurseCode;
    }

    public void setCurNurseCode(String curNurseCode) {
        this.curNurseCode = curNurseCode;
    }

    public String getTstatus() {
        return tstatus;
    }

    public void setTstatus(String tstatus) {
        this.tstatus = tstatus;
    }

    public String getAreaOutStatus() {
        return areaOutStatus;
    }

    public void setAreaOutStatus(String areaOutStatus) {
        this.areaOutStatus = areaOutStatus;
    }

    public String getOutSettStatus() {
        return outSettStatus;
    }

    public void setOutSettStatus(String outSettStatus) {
        this.outSettStatus = outSettStatus;
    }

    public String getIsInsurance() {
        return isInsurance;
    }

    public void setIsInsurance(String isInsurance) {
        this.isInsurance = isInsurance;
    }

    public String getInsInStatus() {
        return insInStatus;
    }

    public void setInsInStatus(String insInStatus) {
        this.insInStatus = insInStatus;
    }

    public String getInsInstCode() {
        return insInstCode;
    }

    public void setInsInstCode(String insInstCode) {
        this.insInstCode = insInstCode;
    }

    public String getInsType() {
        return insType;
    }

    public void setInsType(String insType) {
        this.insType = insType;
    }

    public String getMedicalType() {
        return medicalType;
    }

    public void setMedicalType(String medicalType) {
        this.medicalType = medicalType;
    }

    public String getInsDisageCode() {
        return insDisageCode;
    }

    public void setInsDisageCode(String insDisageCode) {
        this.insDisageCode = insDisageCode;
    }

    public String getIhOuthospDept() {
        return ihOuthospDept;
    }

    public void setIhOuthospDept(String ihOuthospDept) {
        this.ihOuthospDept = ihOuthospDept;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSpodDiseaseCode() {
        return spodDiseaseCode;
    }

    public void setSpodDiseaseCode(String spodDiseaseCode) {
        this.spodDiseaseCode = spodDiseaseCode;
    }

    public String getCpFlag() {
        return cpFlag;
    }

    public void setCpFlag(String cpFlag) {
        this.cpFlag = cpFlag;
    }

    public Date getIhOuthospDate() {
        return ihOuthospDate;
    }

    public void setIhOuthospDate(Date ihOuthospDate) {
        this.ihOuthospDate = ihOuthospDate;
    }

    public String getOutDiagnoseCodeCh() {
        return outDiagnoseCodeCh;
    }

    public void setOutDiagnoseCodeCh(String outDiagnoseCodeCh) {
        this.outDiagnoseCodeCh = outDiagnoseCodeCh;
    }

    public String getOutDiagnoseCode() {
        return outDiagnoseCode;
    }

    public void setOutDiagnoseCode(String outDiagnoseCode) {
        this.outDiagnoseCode = outDiagnoseCode;
    }

    public String getTreatClass() {
        return treatClass;
    }

    public void setTreatClass(String treatClass) {
        this.treatClass = treatClass;
    }

    public String getInhospCondition() {
        return inhospCondition;
    }

    public void setInhospCondition(String inhospCondition) {
        this.inhospCondition = inhospCondition;
    }

    public String getCreateInStatus() {
        return createInStatus;
    }

    public void setCreateInStatus(String createInStatus) {
        this.createInStatus = createInStatus;
    }
}
